package com.yonyou.portcity.utils;

/**
 * @author zhouxiang
 */

public class ResultConstants {

    private static final String OPER_ADD = "ADD";
    private static final String OPER_UPDATE = "UPDATE";
    private static final String OPER_DELETE = "DELETE";
    private static final String OPER_MERGE = "MERGE";
    private static final String OPER_DISTRIBUTE = "DISTRIBUTE";
    private static final String OPER_DISTRIBUTE_AUTO = "DISTRIBUTE_AUTO";
    private static final String SUCCESS_CODE = "200";
    private static final String SUCCESS_MESSAGE = "成功";
    private static final String ERROR_CODE = "500";
    private static final String ERROR_MESSAGE = "失败";

    public static String getOperAdd() {
        return OPER_ADD;
    }

    public static String getOperUpdate() {
        return OPER_UPDATE;
    }

    public static String getOperDelete() {
        return OPER_DELETE;
    }

    public static String getOperMerge() {
        return OPER_MERGE;
    }

    public static String getOperDistribute() {
        return OPER_DISTRIBUTE;
    }

    public static String getOperDistributeAuto() {
        return OPER_DISTRIBUTE_AUTO;
    }

    public static String getSuccessCode() {
        return SUCCESS_CODE;
    }

    public static String getSuccessMessage() {
        return SUCCESS_MESSAGE;
    }

    public static String getErrorCode() {
        return ERROR_CODE;
    }

    public static String getErrorMessage() {
        return ERROR_MESSAGE;
    }
}
